package com.xy.modular.shop.service.impl;

import com.xy.framework.base.dao.IBaseDao;
import com.xy.framework.base.service.BaseServiceImpl;
import com.xy.framework.exceptions.ValidateParamException;
import com.xy.modular.shop.dao.ProductSkuMapper;
import com.xy.modular.shop.entity.ProductSku;
import com.xy.modular.shop.service.IProductSkuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 8. 商品库存量表 product_sku 此表为关键表，根据商品的属性和属性值来判定商品的价格和库存量 服务实现类
 * </p>
 *
 * @author BCK
 * @since 2019-10-12
 */
@Service("productSkuService")
public class ProductSkuServiceImpl extends BaseServiceImpl<ProductSku, String> implements IProductSkuService {
	@Resource
	private ProductSkuMapper productSkuMapper;

	@SuppressWarnings("rawtypes")
	@Override
	protected IBaseDao getBaseDao() {
		return this.productSkuMapper;
	}

	@Override
	public void validateEntity(ProductSku e) throws ValidateParamException {
		// TODO Auto-generated method stub
		
	}
}

	

